package org.example.springcache2;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StatusRepository extends JpaRepository<Status, Integer> {
    List<Status> findByAuthorIgnoreCase(String author);
    List<Status> findByLikesGreaterThan(int likes);

}
